using FreeSql;
using FreeSql.DataAnnotations;
using System.ComponentModel;

namespace BootstrapBlazorApp.Server.Data;
[Description("题目表")]
public class Question:BaseEntity<Question,int>
{
    [Description("题目标题")]
    [Column(StringLength = -1)]
    public string Title { get; set; }
    
    [Description("题目简介")]
    [Column(StringLength = -1)]
    public string? Introduction { get; set; }
    
    [Description("题目类型")]
    public string Category { get; set; }
    [Description("题目难度")]
    public string Difficulty { get; set; }
    [Description("题目标签")]
    public string Tag { get; set; }
    
    [Description("题目答案")]
    [Column(StringLength = -1)]
    public string? Answer { get; set; }
}
